Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Cherrypick] Match libwebrtc protocol priority #680

Merged

Conversation

MaximeBdrd
Copy link

@MaximeBdrd MaximeBdrd commented Apr 16, 2024

Cherrypick from master (since we will keep using v2 for some time)

Description

Match libwebrtc's TURN protocol priority (TCP vs UDP vs TLS)

Reference issue

Fixes reproducibility issues as seen in the field

Today, all relay candidates from Pion have the same priority.
This PR attempts to reproduce libwebrtc's behavior, where the
TURN servers candidates priority is based on the underlying
relay protocol. UDP are preferred over TCP, which are preferred
over the TLS options.
@MaximeBdrd MaximeBdrd changed the base branch from master to v2 April 16, 2024 18:50
@MaximeBdrd
Copy link
Author

Anything missing for this to merge?

@Sean-Der
Copy link
Member

Sorry I didn't merge this sooner @MaximeBdrd

I added you to the Pion org. If you can get a co-worker to approve feel free to merge stuff without me in the future :)

@Sean-Der Sean-Der merged commit 62795f0 into pion:v2 Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants